Skip to main content

CreateHaVip

Description

create highly available virtual IP HaVip(High-Availability Virtual IP Address).

Request Method

POST

Request Path

/apsara/route/Vpc/CreateHaVip

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
DescriptionBODYstringNoThis is my HaVip.description information of the HaVip instance. The length is 2 to 256 characters and must start with an English letter, but cannot be http:// or https:// .
regionIdBODYstringYesNo sample value for this parameter.region id
VSwitchIdBODYstringYesvsw-asdfjlnau****The ID of the switch to which the HaVip instance belongs.
IpAddressBODYstringNo192.XX.XX.10the IP address of the HaVip instance. If not specified, an unoccupied IP address is randomly assigned from the specified switch.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID of the HaVip instance. you can obtain the region by calling DescribeRegions interface ID.
ClientTokenBODYstringNo02fb3da4-130e-11e9-8e44-001s****Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only ASCII characters are supported and cannot exceed 64 characters.
versionBODYstringNo2016-01-01version of api
NameBODYstringNotestthe name of the HaVip instance. The name is between 2 and 128 characters in length, starting with English letters or Chinese, and can contain numbers, dashes (-), and underscores (_).

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}